import Request from '@/utils/request';
import Config from '@/config';

//获取课程评估项
export function getCourseEstimate(data) {
    return Request({
        url: Config.getCourseEstimate,
        method: 'post',
        data
    });
}

//提交课程评估结果
export function submitCourseEstimate(data) {
    return Request({
        url: Config.submitCourseEstimate,
        method: 'post',
        data
    });
}

//获取培训评估项
export function getTrainClassEstimatePh(data) {
  return Request({
    url: Config.getTrainClassEstimatePh,
    method: 'post',
    data
  });
}

//提交培训评估结果
export function submitEstimate(data) {
  return Request({
    url: Config.submitEstimate,
    method: 'post',
    data
  });
}

